package com.easyad.hibernate;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Adsiteplan entity. @author MyEclipse Persistence Tools
 */

public class Adsiteplan implements java.io.Serializable {

	// Fields

	private Integer apid;
	private Date yw;
	private Integer adsiteid;
	private String adsitename;
	private Integer medid;
	private Integer appid;
	private String device;
	private Integer splite;
	private Integer sellnum;
	private Integer price;
	private Timestamp ctime;
	private Timestamp btime;
	private Timestamp etime;
	private Integer status;

	// Constructors

	/** default constructor */
	public Adsiteplan() {
	}

	/** full constructor */
	public Adsiteplan(Date yw, Integer adsiteid, String adsitename,
			Integer medid, Integer appid, String device, Integer splite,
			Integer sellnum, Integer price, Timestamp ctime, Timestamp btime,
			Timestamp etime, Integer status) {
		this.yw = yw;
		this.adsiteid = adsiteid;
		this.adsitename = adsitename;
		this.medid = medid;
		this.appid = appid;
		this.device = device;
		this.splite = splite;
		this.sellnum = sellnum;
		this.price = price;
		this.ctime = ctime;
		this.btime = btime;
		this.etime = etime;
		this.status = status;
	}

	// Property accessors

	public Integer getApid() {
		return this.apid;
	}

	public void setApid(Integer apid) {
		this.apid = apid;
	}

	public Date getYw() {
		return this.yw;
	}

	public void setYw(Date yw) {
		this.yw = yw;
	}

	public Integer getAdsiteid() {
		return this.adsiteid;
	}

	public void setAdsiteid(Integer adsiteid) {
		this.adsiteid = adsiteid;
	}

	public String getAdsitename() {
		return this.adsitename;
	}

	public void setAdsitename(String adsitename) {
		this.adsitename = adsitename;
	}

	public Integer getMedid() {
		return this.medid;
	}

	public void setMedid(Integer medid) {
		this.medid = medid;
	}

	public Integer getAppid() {
		return this.appid;
	}

	public void setAppid(Integer appid) {
		this.appid = appid;
	}

	public String getDevice() {
		return this.device;
	}

	public void setDevice(String device) {
		this.device = device;
	}

	public Integer getSplite() {
		return this.splite;
	}

	public void setSplite(Integer splite) {
		this.splite = splite;
	}

	public Integer getSellnum() {
		return this.sellnum;
	}

	public void setSellnum(Integer sellnum) {
		this.sellnum = sellnum;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Timestamp getCtime() {
		return this.ctime;
	}

	public void setCtime(Timestamp ctime) {
		this.ctime = ctime;
	}

	public Timestamp getBtime() {
		return this.btime;
	}

	public void setBtime(Timestamp btime) {
		this.btime = btime;
	}

	public Timestamp getEtime() {
		return this.etime;
	}

	public void setEtime(Timestamp etime) {
		this.etime = etime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}